package Controllers;

import java.awt.event.*;

/**
 *
 * @author Tim
 */
public class ServerClient implements ActionListener {
    
    GUI.ServerClient gsc;
    String host;

    /**
     *
     * @param gsc
     */
    public ServerClient(GUI.ServerClient gsc) {
        this.gsc = gsc;
    }

    /**
     *
     */
    public void ruimOp() {
        
    }

    public void actionPerformed(ActionEvent e) {
        if(e.getSource() == gsc.ok) {
            gsc.gc.setGUI("tafel");
        }
    }

}
